package org.example.controller;

import org.example.model.User;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloController {
    @GetMapping("/test")
    public User test(){
        User user=new User();
        user.setId(1);
        user.setUsername("test");
        user.setPassword("testPass");
        return user;
    }
}
